import Vue from 'vue'
import VueRouter from 'vue-router'

import Classify from '@/views/Classify'
import Order from '@/views/Order'
import My from '@/views/My'
import Page from '@/views/Page'


Vue.use(VueRouter)

const router = new VueRouter({
    routes:[
        {
            path:'/',
            redirect:'/page'
        },
        {
            path:'/classify',
            component: Classify
        },
        {
            path:'/my',
            component: My
        },
        {
            path:'/page',
            component: Page
        },
        {
            path:'/order',
            component: Order
        },
    ]
})
export default router